package com.example.aerospacemanagementsystem.service.logisticsService.impl.impl;


import com.example.aerospacemanagementsystem.entity.logistics.Emoloyeer;
import com.example.aerospacemanagementsystem.entity.logistics.Item;
import com.example.aerospacemanagementsystem.mapper.logisticsMapper.EmoloyeerMapper;
import com.example.aerospacemanagementsystem.mapper.logisticsMapper.ItemMapper;
import com.example.aerospacemanagementsystem.service.logisticsService.impl.EmoloyeerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 李铭
* @description 针对表【emoloyeer】的数据库操作Service实现
* @createDate 2023-11-03 10:29:11
*/
@Service
public class EmoloyeerServiceImpl  implements EmoloyeerService{
    @Autowired
    private EmoloyeerMapper emoloyeerMapper;

    @Override
    public int add(Emoloyeer emoloyeer) {
        return emoloyeerMapper.insert(emoloyeer);
    }

    @Override
    public int delete(Emoloyeer emoloyeer) {
        return emoloyeerMapper.delete(emoloyeer);
    }

    @Override
    public int update(Emoloyeer emoloyeer) {
        return emoloyeerMapper.update(emoloyeer);
    }

    @Override
    public List<Emoloyeer> getAllEmoloyeer(Emoloyeer emoloyeer) {
        return emoloyeerMapper.getAllEmoloyeer(emoloyeer);
    }


}




